/*
 * Copyright(C) 2019 FUYUN DATA SERVICES CO.,LTD. - All Rights Reserved
 * Unauthorized copying of this file, via any medium is strictly prohibited
 * Proprietary and confidential
 * 该源代码版权归属福韵数据服务有限公司所有
 * 未经授权，任何人不得复制、泄露、转载、使用，否则将视为侵权
 *
 */
import * as React from "react";
import { BrowserRouter, Route, Switch } from "react-router-dom";
import "./App.scss";
import BasicLayout from "./layout/BasicLayout";
import { Provider } from "react-redux";
import { store } from "./store";
import UniformInterface from "./components/uniform-interface";
import Login from "./pages/Login";
class App extends React.Component {
  public render() {
    return (
      <div className="App">
        <Provider store={store}>
          <BrowserRouter>
            <Switch>
              <Route path="/login" component={Login} />
              <Route path="/uniform-interface" component={UniformInterface} />
              <Route path="/" component={BasicLayout} />
            </Switch>
          </BrowserRouter>
        </Provider>
      </div>
    );
  }
}

export default App;
